package com.didi.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.didi.gulimall.common.utils.PageUtils;
import com.didi.gulimall.product.entity.AttrAttrgroupRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author didi
 * @email 1062664904@qq.com
 * @date 2021-01-14 15:42:45
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 保存分组
     * @param attrGroupRelation
     */
    void saveAttr(AttrAttrgroupRelationEntity attrGroupRelation);

    /**
     * 删除关联关系
     * @param attrGroupWithAttrsVos
     */
    void deleteBatchRelation(List<AttrAttrgroupRelationEntity> attrGroupWithAttrsVos);
}

